package edu.tgc.entity;

import java.util.UUID;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import edu.tgc.entity.system.BaseEntity;

@MappedSuperclass
public class CommonDictionary extends BaseEntity {

    private static final long serialVersionUID = 3764775048574648800L;

    protected Boolean enabled;
    protected String name;
    protected Integer sort;

    public CommonDictionary() {
    }

    public CommonDictionary(UUID id) {
        super(id);
    }

    public Boolean getEnabled() {
        return this.enabled;
    }

    @Column(name = "name", length = 31)
    public String getName() {
        return this.name;
    }

    public Integer getSort() {
        return this.sort;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

}
